Move "move-focus" signals from several widgets to GtkWidget to enable more
authorMichael Natterer <mitch@imendio.com>
Mon, 4 Jun 2007 15:00:22 +0000 (15:00 +0000)
committerMichael Natterer <mitch@src.gnome.org>
Mon, 4 Jun 2007 15:00:22 +0000 (15:00 +0000)
commite631aef88191c44f199cb54ee6b75304b63193db
tree90b35c10c557ac55992c95dbdaffd3688c809d94
parent17df875136d184f15d4601fe38c82e98b830be45
Move "move-focus" signals from several widgets to GtkWidget to enable more

2007-06-04  Michael Natterer  <mitch@imendio.com>

Move "move-focus" signals from several widgets to GtkWidget to
enable more flexible costomization of keyboard navigation via
bindings. Fixes bug #414947.

* gtk/gtkwidget.c: add "move-focus" binding signal, default to
calling the toplevel GtkWindow's "move-focus" vfunc.

* gtk/gtktextview.[ch]
* gtk/gtkwindow.[ch]: remove "move-focus" signals and add compat
code that makes sure that both emitting the signal on the widget
and overriding the virtual functions keeps working as before.

* gtk/gtktoolbar.c: remove "move-focus" signal here too and use
GtkWidget's signal. This change slightly changes keyboard
navigation in toolbars. I'll fix the behavior if somebody can
explain me if and how exactly the new behavior is broken.

svn path=/trunk/; revision=18025
ChangeLog
gtk/gtktextview.c
gtk/gtktextview.h
gtk/gtktoolbar.c
gtk/gtkwidget.c
gtk/gtkwindow.c
gtk/gtkwindow.h